package com.example.jwt.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.jwt.demo.entity.ResponseResult;
import com.example.jwt.demo.entity.User;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface UserService extends IService<User> {
    public List<User> findUserByUsername(User users);
    public User findUserById(int userId);

    ResponseResult insertUser(User user);
}
